import * as d3 from 'd3'

export function jenksBreaks() {}

export function quantiles(dataset, colors) {
    // return d3
    //     .scaleSequential()
    //     .domain(d3.extent(dataset))
    //     .range(colors || ['blue', 'yellow', 'green'])
    return d3
        .scaleQuantile()
        .domain(dataset)
        .range(colors || ['blue', 'yellow', 'green'])
}
